package cn.laixueit;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDemo {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
//        StudentMapper mapper = context.getBean("studentMapper", StudentMapper.class);
//        mapper.find();

        ComboPooledDataSource dataSource = context.getBean("dataSource", ComboPooledDataSource.class);
    }
}
